package controller;
import entity.Member;
import java.util.List;
import setvice.MemberService;
import setvice.MemberServiceimpl;
public class MemberController {
    MemberService memberService=new MemberServiceimpl();
    public boolean insertMemberController(Member member) {
        return memberService.insertMemberService(member);
    }

    public boolean deleteMemberByVideomemberController(Integer id, String Videomember) {
        return memberService.deleteMemberByVideomemberService(id,Videomember);
    }

    public boolean changeMemberByIdService(Integer id,String Videomember,Member member) {
        return memberService.changeMemberByIdService(id,Videomember,member);
    }

    public List<Member> seekAllMemberService() {
        return memberService.seekAllMemberService();
    }

    public List<Member> seekMemberByIdController(Integer id) {
        return memberService.seekMemberByIdService(id);
    }
}
